package yy.cms.tools;

public class Commons {
	
	public final static String CHN = "chn";
	public final static String ENG = "eng";
	
	public final static String BLANK = "";
	// set Page in request attribute
	public final static String CURRENTPAGE = "CURRENTPAGE";
	public final static String CURRENTPAGEID = "CURRENTPAGEID";
	public final static String NEXTPAGEID = "NEXTPAGEID";
	public final static String PREPAGEID = "PREPAGEID";

	// Session
	public final static String LANGUAGE = "language";
	
	// Message Container
	public static String[] LANGUAGES = { CHN, ENG };

	// bussiness error message
	public final static String ER_B0001 = "LOGIN_FAILED";

	// program error message
	public final static String ER_P0001 = "ER_P0001";
	public final static String ER_P0002 = "ER_P0002";
	public final static String ER_P0003 = "ER_P0003";
	public final static String ER_P0004 = "ER_P0004";

	//
	public final static String ERR_MSG_REQUEST = "ERR_MSG";

	//
	public final static String SCREENNAME_PROPERTY_PATH = "C:/yyang/MyProject/FlexWorkspace/CandidateManageSystem/War/configs/screen_name.property";
	public final static String UPLOAD_TEMP_PATH = "C:/yyang/uptemp/";
	public final static String LOG_PATH = "C:/yyang/uptemp/pid";
	// public final static String UPLOAD_TEMP_PATH = "D:/yyang/uptemp/";
	// public final static String LOG_PATH = "D:/develop_SRC/tempWorkSpace/CandidateManageSystem";
	// public final static String SCREENNAME_PROPERTY_PATH = "D:/develop_SRC/tempWorkSpace/CandidateManageSystem/War/configs/screen_name.property";
}
